home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / less-252 / defines.h < prev    next >
Text File  |  1995-05-11  |  6KB  |  237 lines

  1. /* defines.h.  Generated automatically by configure.  */
  2. /* defines.h.in.  Generated automatically from configure.in by autoheader.  */
  3. /* Unix definition file for less.  -*- C -*-
  4.  *
  5.  * This file has 3 sections:
  6.  * User preferences.
  7.  * Settings always true on Unix.
  8.  * Settings automatically determined by configure.
  9.  *
  10.  * * * * * *  WARNING  * * * * * *
  11.  * If you edit defines.h by hand, do "touch stamp-h" before you run make
  12.  * so config.status doesn't overwrite your changes.
  13.  */
  14.  
  15. /* User preferences.  */
  16.  
  17. /*
  18.  * SHELL_ESCAPE is 1 if you wish to allow shell escapes.
  19.  * (This is possible only if your system supplies the system() function.)
  20.  */
  21. #define    SHELL_ESCAPE    1
  22.  
  23. /*
  24.  * TAB_COMPLETE_FILENAME is 1 if you wish to allow the TAB key
  25.  * to complete filenames at prompts.
  26.  */
  27. #define    TAB_COMPLETE_FILENAME    1
  28.  
  29. /*
  30.  * CMD_HISTORY is 1 if you wish to allow keys to cycle through
  31.  * previous commands at prompts.
  32.  */
  33. #define    CMD_HISTORY    1
  34.  
  35. /*
  36.  * HILITE_SEARCH is 1 if you wish to have search targets to be 
  37.  * displayed in standout mode.
  38.  */
  39. #define    HILITE_SEARCH    1
  40.  
  41. /*
  42.  * EDITOR is 1 if you wish to allow editor invocation (the "v" command).
  43.  * (This is possible only if your system supplies the system() function.)
  44.  * EDIT_PGM is the name of the (default) editor to be invoked.
  45.  */
  46. #define    EDITOR        1
  47. #define    EDIT_PGM    "vi"
  48.  
  49. /*
  50.  * TAGS is 1 if you wish to support tag files.
  51.  */
  52. #define    TAGS        1
  53.  
  54. /*
  55.  * USERFILE is 1 if you wish to allow a .less file to specify 
  56.  * user-defined key bindings.
  57.  */
  58. #define    USERFILE    1
  59.  
  60. /*
  61.  * GLOB is 1 if you wish to have shell metacharacters expanded in filenames.
  62.  * This will generally work if your system provides the "popen" function
  63.  * and the "echo" shell command.
  64.  */
  65. #define    GLOB        1
  66.  
  67. /*
  68.  * PIPEC is 1 if you wish to have the "|" command
  69.  * which allows the user to pipe data into a shell command.
  70.  */
  71. #define    PIPEC        1
  72.  
  73. /*
  74.  * LOGFILE is 1 if you wish to allow the -l option (to create log files).
  75.  */
  76. #define    LOGFILE        1
  77.  
  78. /*
  79.  * ONLY_RETURN is 1 if you want RETURN to be the only input which
  80.  * will continue past an error message.
  81.  * Otherwise, any key will continue past an error message.
  82.  */
  83. #define    ONLY_RETURN    0
  84.  
  85. /*
  86.  * LESSKEYFILE is the filename of the default lesskey output file 
  87.  * (in the HOME directory).
  88.  * DEF_LESSKEYINFILE is the filename of the default lesskey input 
  89.  * (in the HOME directory).
  90.  */
  91. #define    LESSKEYFILE        ".less"
  92. #define    DEF_LESSKEYINFILE    ".lesskey"
  93.  
  94.  
  95. /* Settings always true on Unix.  */
  96.  
  97. /*
  98.  * Define MSOFTC if compiling under Microsoft C.
  99.  */
  100. #define    MSOFTC    0
  101.  
  102. /*
  103.  * HAVE_SYS_TYPES_H is 1 if your system has <sys/types.h>.
  104.  */
  105. #define HAVE_SYS_TYPES_H    1
  106.  
  107. /*
  108.  * HAVE_STAT is 1 if your system has the stat() call.
  109.  */
  110. #define    HAVE_STAT    1
  111.  
  112. /*
  113.  * HAVE_PERROR is 1 if your system has the perror() call.
  114.  * (Actually, if it has sys_errlist, sys_nerr and errno.)
  115.  */
  116. #define    HAVE_PERROR    1
  117.  
  118. /*
  119.  * HAVE_TIME is 1 if your system has the time() call.
  120.  */
  121. #define    HAVE_TIME    1
  122.  
  123. /*
  124.  * HAVE_SHELL is 1 if your system supports a SHELL command interpreter.
  125.  */
  126. #define    HAVE_SHELL    1
  127.  
  128. /* Settings automatically determined by configure.  */
  129.  
  130. /* Define to `long' if <sys/types.h> doesn't define.  */
  131. /* #undef off_t */
  132.  
  133. /* Define as the return type of signal handlers (int or void).  */
  134. #define RETSIGTYPE void
  135.  
  136. /* Define if you have the ANSI C header files.  */
  137. #define STDC_HEADERS 1
  138.  
  139. /*
  140.  * Regular expression library.
  141.  * Define exactly one of the following to be 1:
  142.  * HAVE_POSIX_REGCOMP: POSIX regcomp() and regex.h
  143.  * HAVE_RE_COMP: BSD re_comp()
  144.  * HAVE_REGCMP: System V regcmp()
  145.  * HAVE_V8_REGCOMP: Henry Spencer V8 regcomp() and regexp.h
  146.  * NO_REGEX: pattern matching is supported, but without metacharacters.
  147.  */
  148. #define HAVE_POSIX_REGCOMP 1
  149. /* #undef HAVE_RE_COMP */
  150. /* #undef HAVE_REGCMP */
  151. /* #undef HAVE_V8_REGCOMP */
  152. /* #undef NO_REGEX */
  153.  
  154. /* Define HAVE_VOID if your compiler supports the "void" type. */
  155. #define HAVE_VOID 1
  156.  
  157. /* Define HAVE_TIME_T if your system supports the "time_t" type. */
  158. #define HAVE_TIME_T 1
  159.  
  160. /* Define HAVE_STRERROR if you have the strerror() function. */
  161. #define HAVE_STRERROR 1
  162.  
  163. /* Define HAVE_ERRNO if you have the errno variable */
  164. #define HAVE_ERRNO 1
  165.  
  166. /* Define HAVE_SYS_ERRLIST if you have the sys_errlist[] variable */
  167. #define HAVE_SYS_ERRLIST 1
  168.  
  169. /* Define HAVE_OSPEED if your termcap library has the ospeed variable */
  170. #define HAVE_OSPEED 1
  171. /* Define MUST_DEFINE_OSPEED if you have ospeed but it is not defined
  172.  * in termcap.h. */
  173. #define MUST_DEFINE_OSPEED 1
  174.  
  175. /* Define HAVE_LOCALE if you have locale.h and setlocale. */
  176. #define HAVE_LOCALE 1
  177.  
  178. /* Define HAVE_TERMIOS_FUNCS if you have tcgetattr/tcsetattr */
  179. #define HAVE_TERMIOS_FUNCS 1
  180.  
  181. /* Define HAVE_UPPER_LOWER if you have isupper, islower, toupper, tolower */
  182. #define HAVE_UPPER_LOWER 1
  183.  
  184. /* Define if you have _setjmp.  */
  185. /* #undef HAVE__SETJMP */
  186.  
  187. /* Define if you have memcpy.  */
  188. #define HAVE_MEMCPY 1
  189.  
  190. /* Define if you have sigsetmask.  */
  191. /* #undef HAVE_SIGSETMASK */
  192.  
  193. /* Define if you have strchr.  */
  194. #define HAVE_STRCHR 1
  195.  
  196. /* Define if you have system.  */
  197. #define HAVE_SYSTEM 1
  198.  
  199. /* Define if you have the <ctype.h> header file.  */
  200. #define HAVE_CTYPE_H 1
  201.  
  202. /* Define if you have the <errno.h> header file.  */
  203. #define HAVE_ERRNO_H 1
  204.  
  205. /* Define if you have the <fcntl.h> header file.  */
  206. #define HAVE_FCNTL_H 1
  207.  
  208. /* Define if you have the <stdio.h> header file.  */
  209. #define HAVE_STDIO_H 1
  210.  
  211. /* Define if you have the <sys/ioctl.h> header file.  */
  212. #define HAVE_SYS_IOCTL_H 1
  213.  
  214. /* Define if you have the <sys/ptem.h> header file.  */
  215. #define HAVE_SYS_PTEM_H 1
  216.  
  217. /* Define if you have the <sys/stream.h> header file.  */
  218. #define HAVE_SYS_STREAM_H 1
  219.  
  220. /* Define if you have the <termcap.h> header file.  */
  221. /* #undef HAVE_TERMCAP_H */
  222.  
  223. /* Define if you have the <termio.h> header file.  */
  224. #define HAVE_TERMIO_H 1
  225.  
  226. /* Define if you have the <termios.h> header file.  */
  227. #define HAVE_TERMIOS_H 1
  228.  
  229. /* Define if you have the <time.h> header file.  */
  230. #define HAVE_TIME_H 1
  231.  
  232. /* Define if you have the <unistd.h> header file.  */
  233. #define HAVE_UNISTD_H 1
  234.  
  235. /* Define if you have the <values.h> header file.  */
  236. #define HAVE_VALUES_H 1
  237.